package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.util.Date;

/**
 * 接运车辆GPS信息Entity
 *
 * @author generator
 * @date 2020-06-22 14:03
 */
@MyTable(value = "RecGpsInfoEntity", name = "rec_gps_info", comment = "接运车辆GPS信息")
public class RecGpsInfoEntity extends BaseEntity {
    /**
     * imei编码
     */
    @MyColumn(value = "carImei", name = "car_imei", comment = "imei编码")
    private String carImei;

    /**
     * 车辆外键
     */
    @MyColumn(value = "carId", name = "car_id", comment = "车辆外键")
    private Integer carId;

    /**
     * 接运外键
     */
    @MyColumn(value = "recId", name = "rec_id", comment = "接运外键")
    private Integer recId;

    /**
     * 设备状态
     */
    @MyColumn(value = "deviceStatusCode", name = "device_status_code", comment = "设备状态", required = true)
    private Integer deviceStatusCode;

    /**
     * gps时间
     */
    @MyColumn(value = "gpsTime", name = "gps_time", comment = "gps时间", required = true)
    private Date gpsTime;

    /**
     * 系统时间
     */
    @MyColumn(value = "sysTime", name = "sys_time", comment = "系统时间")
    private Date sysTime;

    /**
     * 心跳时间
     */
    @MyColumn(value = "heartTime", name = "heart_time", comment = "心跳时间")
    private Date heartTime;

    /**
     * 服务时间
     */
    @MyColumn(value = "serverTime", name = "server_time", comment = "服务时间", required = true)
    private Date serverTime;

    /**
     * 经度
     */
    @MyColumn(value = "lng", name = "lng", comment = "经度", required = true)
    private String lng;

    /**
     * 纬度
     */
    @MyColumn(value = "lat", name = "lat", comment = "纬度", required = true)
    private String lat;

    /**
     * 航向
     */
    @MyColumn(value = "course", name = "course", comment = "航向", required = true)
    private String course;

    /**
     * 速度
     */
    @MyColumn(value = "speed", name = "speed", comment = "速度", required = true)
    private String speed;

    /**
     * 状态
     */
    @MyColumn(value = "status", name = "status", comment = "状态")
    private String status;

    /**
     * acc状态
     */
    @MyColumn(value = "acc", name = "acc", comment = "acc状态")
    private String acc;

    /**
     * acc时长
     */
    @MyColumn(value = "accSeconds", name = "acc_seconds", comment = "acc时长")
    private String accSeconds;


    public String getCarImei() {
        return carImei;
    }

    public RecGpsInfoEntity setCarImei(String carImei) {
        this.carImei = carImei;
        return this;
    }

    public Integer getCarId() {
        return carId;
    }

    public RecGpsInfoEntity setCarId(Integer carId) {
        this.carId = carId;
        return this;
    }

    public Integer getRecId() {
        return recId;
    }

    public RecGpsInfoEntity setRecId(Integer recId) {
        this.recId = recId;
        return this;
    }

    public Integer getDeviceStatusCode() {
        return deviceStatusCode;
    }

    public RecGpsInfoEntity setDeviceStatusCode(Integer deviceStatusCode) {
        this.deviceStatusCode = deviceStatusCode;
        return this;
    }

    public Date getGpsTime() {
        return gpsTime;
    }

    public RecGpsInfoEntity setGpsTime(Date gpsTime) {
        this.gpsTime = gpsTime;
        return this;
    }

    public Date getSysTime() {
        return sysTime;
    }

    public RecGpsInfoEntity setSysTime(Date sysTime) {
        this.sysTime = sysTime;
        return this;
    }

    public Date getHeartTime() {
        return heartTime;
    }

    public RecGpsInfoEntity setHeartTime(Date heartTime) {
        this.heartTime = heartTime;
        return this;
    }

    public Date getServerTime() {
        return serverTime;
    }

    public RecGpsInfoEntity setServerTime(Date serverTime) {
        this.serverTime = serverTime;
        return this;
    }

    public String getLng() {
        return lng;
    }

    public RecGpsInfoEntity setLng(String lng) {
        this.lng = lng;
        return this;
    }

    public String getLat() {
        return lat;
    }

    public RecGpsInfoEntity setLat(String lat) {
        this.lat = lat;
        return this;
    }

    public String getCourse() {
        return course;
    }

    public RecGpsInfoEntity setCourse(String course) {
        this.course = course;
        return this;
    }

    public String getSpeed() {
        return speed;
    }

    public RecGpsInfoEntity setSpeed(String speed) {
        this.speed = speed;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public RecGpsInfoEntity setStatus(String status) {
        this.status = status;
        return this;
    }

    public String getAcc() {
        return acc;
    }

    public RecGpsInfoEntity setAcc(String acc) {
        this.acc = acc;
        return this;
    }

    public String getAccSeconds() {
        return accSeconds;
    }

    public RecGpsInfoEntity setAccSeconds(String accSeconds) {
        this.accSeconds = accSeconds;
        return this;
    }
}